
test("T00_constractorTest", function(){
  var c = Class({});
  equals(c.getName(), 'anonymous');
});

test("T01_constractorTest", function(){
  c = Class({name: 'hoge'});
  equals(c.getName(), 'hoge');
});

test("T10_setNameTest", function(){
  var c = Class({});
  c.setName('hoge');
  equals(c.getName(), 'hoge');
});

test("T20_getViewTest", function(){
  var c = Class({view: document.getElementById('testview')});
  var view = c.getView();
  ok(typeof view == "object");
});

test("T30_appendShowText", function(){
  var c = Class({view: document.getElementById('testview')});
  var str = 'test';
  c.appendShowText(str);
  equals(c.getView().innerHTML, str.toUpperCase() + "<br>");
});

test("T40_privateVariableTest", function(){
  var c = Class({});
  equals(c.name, undefined);
});

test("T41_privateMethodTest", function(){
  var c = Class({});
  equals(c.name, undefined);
});

